package io.bdmc.modules.bss.service.impl;

import io.bdmc.common.utils.MyPage;
import io.bdmc.modules.bss.entity.DeviceMachineOsw;
import io.bdmc.modules.bss.mapper.DeviceMachineOswMapper;
import io.bdmc.modules.bss.service.IDeviceMachineOswService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author 黄露
 * @since 2021-05-21
 */
@Service
public class DeviceMachineOswServiceImpl extends ServiceImpl<DeviceMachineOswMapper, DeviceMachineOsw> implements IDeviceMachineOswService {
    @Autowired
    DeviceMachineOswMapper _devicemachineoswMapper;

    @Override
    public MyPage<DeviceMachineOsw> mySelectPage(MyPage<DeviceMachineOsw> myPage) {
        return _devicemachineoswMapper.mySelectPage(myPage);
    }

    @Override
    public DeviceMachineOsw selectLastOswData(String sn) {
        return _devicemachineoswMapper.selectLastOswData(sn);
    }
}
